<script>
frm.ajajform("insertWidget",null,null,{
	type:"checkboxlist",
	label:"{{!Roles}}",
	name:"roles",
	width: 600,
	item_width: 600,
	available:{{JSON:roles.available}},
	checked:{{JSON:roles.checked}},
	xpath:".main-block"
});
</script>
